package ar.Location.Localization;

import java.util.Locale;

import android.content.Context;
import android.content.res.Resources;
import android.util.DisplayMetrics;

public class LocalizationHelper {
	public static boolean isEnglish = true;
	
	public static void changeLocaleSetting(Context context, String languageCode) {
		Resources res = context.getResources();
		DisplayMetrics dm = res.getDisplayMetrics();
		android.content.res.Configuration conf = res.getConfiguration();
		conf.locale = new Locale(languageCode);
		res.updateConfiguration(conf, dm);
	}
}
